package com.chenhao.springcloud.chenhaodesignservice.pattern.creational.factory;

/**
 * Description:工厂方法让类的是劣化推迟到子类中进行
 *
 * @author chenhao
 * @date 2020/12/10 16:50
 */
public class JavaVideoFactory extends VideoFactory{
    @Override
    public Video getVideo() {
        return new JavaVideo();
    }
}
